#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	char* exp;
	int value;

} WP;
	WP* new_wp();

	void free_wp(WP *);

	bool checkWP();

	void printf_wp();

	WP* delete_wp(int p, bool *key);

	void setwp(char *args,int num);


#endif
